package com.future.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.future.domain.Manager;
import java.util.List;

import com.future.dto.ManagerDto;
import com.future.dto.ManagerForRoomDto;
import org.apache.ibatis.annotations.Param;

/**
 * @Auther: 田坑坑
 * @Date: 2022/6/20 14:01
 * @Description:  我题序等你回
 */
public interface ManagerMapper extends BaseMapper<Manager> {


    List<ManagerDto> selectManagerDto(@Param("id") int id);


    // 查询  该宿管管理的宿舍集合
    List<ManagerForRoomDto>  selectManagerForMoom(@Param("managerId") int managerId);



    int updateBatch(List<Manager> list);

    int updateBatchSelective(List<Manager> list);

    int batchInsert(@Param("list") List<Manager> list);
}